#include "pch.h"
#include "AsyncTask.h"
#include "AsyncTaskImpl.h"

HMODULE g_hModule;

BOOL WINAPI DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpReserved)
{
	switch (dwReason)
	{
	case DLL_PROCESS_ATTACH:
		g_hModule = hModule;
		break;

	case DLL_PROCESS_DETACH:
		break;
	}

	return TRUE;
}

namespace AT
{

CAsyncTask g_asyncTask;

IAsyncTask *GetAsyncTask()
{
	return &g_asyncTask;
}

}	// namespace AT
